You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clMatrix Structure > clMatrix Methods > ExtendToComplex Method > clMatrix.ExtendToComplex Method ([In] TOpenCLMtxVec, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clMatrix.ExtendToComplex Method ([In] TOpenCLMtxVec, bool)

Extend Vec object to complex calling object.

Syntax
C#
Visual Basic
public TOpenCLMtxVec ExtendToComplex([In] TOpenCLMtxVec Src, bool Zeros);

If Zeros is true then the calling vector imaginary part is set to zero, otherwise the calling object imaginary part is the same as calling object real part.

var a,b: clMatrix; begin a.CopyFromArray(2,2, TSingleArray.Create(1,2,3,4)); b.ExtendToComplex(a,True); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!